//
//  CustomDraverView.h
//  Meroad
//
//  Created by 沈煜航 on 2019/2/2.
//  Copyright © 2019 郭孝通. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UserModel.h"

NS_ASSUME_NONNULL_BEGIN

@protocol CustomDraverViewDelegate <NSObject>
@required
-(void)draverViewDidSelectRowNumber:(NSInteger)num;

@end


@interface CustomDraverView : UIView<UITableViewDataSource, UITableViewDelegate>

@property (nonatomic, weak) UserModel *userModel;
@property (nonatomic) UITableView *DraverTable;
@property (nonatomic, weak) id <CustomDraverViewDelegate> delegate;

-(instancetype)init;
+(instancetype)draverView;

-(void)show;
-(void)hide;

@end

NS_ASSUME_NONNULL_END
